package com.htlh.filedemo.bean;

import org.litepal.crud.DataSupport;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Acefa on 2017/5/8.
 */

public class Category extends DataSupport {
    private int id;

    private String name;

    private List<News> categoryList = new ArrayList<>();

    public List<News> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<News> categoryList) {
        this.categoryList = categoryList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
